//
//  FansCollectionViewCell.m
//  UniversalApp
//
//  Created by 志刚杨 on 2018/3/1.
//  Copyright © 2018年 voidcat. All rights reserved.
//

#import "FansCollectionViewCell.h"
#import "FansModel.h"
#import <YYKit/YYKit.h>
@implementation FansCollectionViewCell
- (void)awakeFromNib {
    [super awakeFromNib];
    ViewRadius(self.headerimage, 20);
}

-(void)setModel:(FansModel *)model
{
    _model = model;
    [self.headerimage sd_setImageWithURL:[[CYURLUtils sharedCYURLUtils] safeUrl:model.avatar] placeholderImage:[[CYCommon sharedCYCommon] getEpmayImage]];
    [self.level getViewType:model.sex AndLevel:model.level];
    self.labnickname.text = model.user_nickname;
}


@end
